2007-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
in the PWG "custom" namespace as custom. Add a link to
the spec in the docs. (#426416, Andreas Guelzow)
svn path=/trunk/; revision=17718
+2007-04-29 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
+ in the PWG "custom" namespace as custom. Add a link to
+ the spec in the docs. (#426416, Andreas Guelzow)
+
2007-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c (gtk_print_operation_run): Document
* @name: a paper size name, or %NULL
*
* Creates a new #GtkPaperSize object by parsing a
- * PWG 5101.1-2002 PWG <!-- FIXME link here -->
+ * <ulink url="ftp://ftp.pwg.org/pub/pwg/candidates/cs-pwgmsn10-20020226-5101.1.pdf">PWG 5101.1-2002</ulink>
* paper name.
*
* If @name is %NULL, the default paper size is returned,
size->height = height;
size->name = short_name;
size->display_name = g_strdup (short_name);
+ if (strncmp (short_name, "custom", 6) == 0)
+ size->is_custom = TRUE;
}
else
{